package vip.liux.contracts.repositories.point;

import org.springframework.data.repository.ListCrudRepository;
import org.springframework.data.repository.ListPagingAndSortingRepository;
import vip.liux.contracts.models.point.PointsAccount;

import java.util.Optional;

public interface IPointsAccountRepository extends ListPagingAndSortingRepository<PointsAccount, Long>, ListCrudRepository<PointsAccount, Long> {
    Optional<PointsAccount> findByUserId(Long userId);
}